package com.lou1052.data.query.page;

import java.util.List;

/**
 * 分页查询结果
 * Created with IntelliJ IDEA.
 * User: liuqing
 * Date: 2016/1/1
 * Time: 16:59
 * To change this template use File | Settings | File Templates.
 */
public interface IPageResult<E> {
    /**
     * Getter for property 'endRow'.
     *
     * @return Value for property 'endRow'.
     */
     int getEndRow();

    /**
     * Getter for property 'firstPage'.
     *
     * @return Value for property 'firstPage'.
     */
     int getFirstPage();

    /**
     * Getter for property 'hasNextPage'.
     *
     * @return Value for property 'hasNextPage'.
     */
     boolean isHasNextPage() ;

    /**
     * Getter for property 'hasPreviousPage'.
     *
     * @return Value for property 'hasPreviousPage'.
     */
     boolean isHasPreviousPage();


    /**
     * Getter for property 'firstPage'.
     *
     * @return Value for property 'firstPage'.
     */
     boolean isFirstPage();


    /**
     * Getter for property 'lastPage'.
     *
     * @return Value for property 'lastPage'.
     */
     boolean isLastPage();

    /**
     * Getter for property 'lastPage'.
     *
     * @return Value for property 'lastPage'.
     */
     int getLastPage();


    /**
     * Getter for property 'list'.
     *
     * @return Value for property 'list'.
     */
     List<E> getList();



    /**
     * Getter for property 'navigatepageNums'.
     *
     * @return Value for property 'navigatepageNums'.
     */
     int[] getNavigatepageNums();


    /**
     * Getter for property 'navigatePages'.
     *
     * @return Value for property 'navigatePages'.
     */
     int getNavigatePages();


    /**
     * Getter for property 'nextPage'.
     *
     * @return Value for property 'nextPage'.
     */
     int getNextPage() ;


    /**
     * Getter for property 'pageNum'.
     *
     * @return Value for property 'pageNum'.
     */
     int getPageNum();


    /**
     * Getter for property 'pages'.
     *
     * @return Value for property 'pages'.
     */
     int getPages();


    /**
     * Getter for property 'pageSize'.
     *
     * @return Value for property 'pageSize'.
     */
     int getPageSize();


    /**
     * Getter for property 'prePage'.
     *
     * @return Value for property 'prePage'.
     */
     int getPrePage();

    /**
     * Getter for property 'size'.
     *
     * @return Value for property 'size'.
     */
     int getSize();

    /**
     * Getter for property 'startRow'.
     *
     * @return Value for property 'startRow'.
     */
     int getStartRow();

    /**
     * Getter for property 'total'.
     *
     * @return Value for property 'total'.
     */
     long getTotal();

}
